# Tanım: Hafif panel/görev çubuğu
# URL: http://tint2.googlecode.com
# Paketçi: Vitaly Sinilin, vs at kp4 dot ru
# Gerekler: cmake imlib2 pango
# Grup: masaüstü

isim=tint2
surum=0.11
devir=2
kaynak=(http://$isim.googlecode.com/files/$isim-$surum.tar.bz2 \
        add-power-now-support.patch)

derle() {
  cd $isim-$surum

  patch -p0 -i $SRC/add-power-now-support.patch

  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DENABLE_BATTERY=ON \
    -DENABLE_EXAMPLES=OFF \
    -DENABLE_TINT2CONF=OFF \
    -DMANDIR=/usr/man \
    -DSYSCONFDIR=/usr/etc

  make
  make DESTDIR=$PKG install
  rm -rf $PKG/usr/share
}
